package com.sicent.app0013.operate.model;

import java.io.Serializable;

public class PrizeRecord implements Serializable {

    private static final long serialVersionUID = -1L;

    /** prize_record_id : **/
    private Integer prizeRecordId;
    /** user_id : **/
    private Integer userId;
    /** welfare_activity_id : **/
    private Integer welfareActivityId;
    /** prize_id : **/
    private Integer prizeId;
    /** prize_time : **/
    private Integer prizeTime;
    /** is_exchange : 0、未兑换，1、已兑换**/
    private Integer isExchange;
    /** exchange_time : **/
    private Integer exchangeTime;
    /** internet_bar_id : **/
    private Integer internetBarId;
    /** type : 1表示扫码送礼， 和welfare_activities表的type字段类似**/
    private Integer type;

    public PrizeRecord() {
        
    }

    public PrizeRecord(Integer prizeRecordId) {
        this.prizeRecordId = prizeRecordId;
    }

    public Integer getPrizeRecordId() {
        return prizeRecordId;
    }

    public PrizeRecord setPrizeRecordId(Integer prizeRecordId) {
        this.prizeRecordId = prizeRecordId;
        return this;
    }

    public Integer getUserId() {
        return userId;
    }

    public PrizeRecord setUserId(Integer userId) {
        this.userId = userId;
        return this;
    }

    public Integer getWelfareActivityId() {
        return welfareActivityId;
    }

    public PrizeRecord setWelfareActivityId(Integer welfareActivityId) {
        this.welfareActivityId = welfareActivityId;
        return this;
    }

    public Integer getPrizeId() {
        return prizeId;
    }

    public PrizeRecord setPrizeId(Integer prizeId) {
        this.prizeId = prizeId;
        return this;
    }

    public Integer getPrizeTime() {
        return prizeTime;
    }

    public PrizeRecord setPrizeTime(Integer prizeTime) {
        this.prizeTime = prizeTime;
        return this;
    }

    public Integer getIsExchange() {
        return isExchange;
    }

    public PrizeRecord setIsExchange(Integer isExchange) {
        this.isExchange = isExchange;
        return this;
    }

    public Integer getExchangeTime() {
        return exchangeTime;
    }

    public PrizeRecord setExchangeTime(Integer exchangeTime) {
        this.exchangeTime = exchangeTime;
        return this;
    }

    public Integer getInternetBarId() {
        return internetBarId;
    }

    public PrizeRecord setInternetBarId(Integer internetBarId) {
        this.internetBarId = internetBarId;
        return this;
    }

    public Integer getType() {
        return type;
    }

    public PrizeRecord setType(Integer type) {
        this.type = type;
        return this;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", prizeRecordId=").append(prizeRecordId);
        sb.append(", userId=").append(userId);
        sb.append(", welfareActivityId=").append(welfareActivityId);
        sb.append(", prizeId=").append(prizeId);
        sb.append(", prizeTime=").append(prizeTime);
        sb.append(", isExchange=").append(isExchange);
        sb.append(", exchangeTime=").append(exchangeTime);
        sb.append(", internetBarId=").append(internetBarId);
        sb.append(", type=").append(type);
        sb.append("]");
        return sb.toString();
    }
}